package com.zds.hj.poseidon.facade.dto.hpp.credit.enums;

import com.zds.boot.common.exception.ResultCodeEnum;

/**
 * 业务进行状态
 */
public enum OrderStateEnum implements ResultCodeEnum {

    DCAFT("DCAFT","草稿"),
    PROGRESS_CRAFT("ROGRESS_CRAFT","授信审批中"),
    WAIT_REPAY_MONEY("WAIT_REPAY_MONEY","待还款"),
    WAIT_MAKE_LOANS("WAIT_MAKE_LOANS","待放款");


    private String code;
    private String desc;
    OrderStateEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String code() {
        return this.code;
    }

    public String message() {
        return this.desc;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.desc;
    }

}
